<extend name="Public/base"/>

<!-- 子导航 -->
<block name="sidebar">
    <include file="sidemenu"/>
</block>

<block name="body">
    <link href="__STATIC__/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__STATIC__/datetimepicker/css/datetimepicker.css"/>
    <script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"
            charset="UTF-8"></script>
    <script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
            charset="UTF-8"></script>
    <div class="main-title">
        <h2>
            新增客户订单
        </h2>
    </div>
    <!-- 表单 -->
    <form id="form" action="{:U('update')}" method="post" class="form-horizontal" enctype="multipart/form-data">
        <!-- 基础文档模型 -->
        <input type="text" class="hidden disabled" style="display: none;" hidden readonly name="id" value="{$client['id']}">
        <div id="tab" class="tab-pane">
            <div class="span6">
            <div class="form-item">
                <label class="item-label">订单标题</label>
                <input type="text" class="text input-large" readonly name="title" value="{$client['title']}">
            </div>
            <div class="form-item">
                <label class="item-label">发布时间</label>
                <input size="16" type="text" class="form_datetime text input-large" readonly name="release"
                       data-date-format="yyyy-mm-dd" value="{$client['release']}">
            </div>
            <div class="form-item">
                <label class="item-label">截止时间</label>
                <input size="16" type="text" class="form_datetime text input-large" readonly name="validity"
                       data-date-format="yyyy-mm-dd" value="{$client['validity']}">
            </div>
            <div class="form-item">
                <label class="item-label">客户类型</label>
                <label class="radio"><input readonly type="radio" name="type" value="供应方" <eq name="client['type']" value="供应方">checked="checked"</eq>>供应方</label>
                <label class="radio"><input readonly type="radio" name="type" value="需求方" <eq name="client['type']" value="需求方">checked="checked"</eq>>需求方</label>
            </div>
            </div>
            <!--<div class="form-item">-->
                <!--<label class="item-label">联系人</label>-->
                <!--<input type="text" class="text input-large" readonly name="contact" value="{$client['contact']}">-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">始发地</label>-->
                <!--<input type="text" class="text input-large" readonly name="origin" value="{$client['origin']}">-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">目的地</label>-->
                <!--<input type="text" class="text input-large" readonly name="destination" value="{$client['destination']}">-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">车辆类型</label>-->
                <!--<input type="text" class="text input-large" readonly name="car" value="{$client['car']}">-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">重 量</label>-->
                <!--<input type="text" class="text input-large" readonly name="weight" value="{$client['weight']}">-->
            <!--</div>-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label" style="margin-right: 20px;">作业类型</label>-->
                <!--<label class="checkbox inline">-->
                    <!--<input type="checkbox" value="租赁" name="major_box[]" <eq name="client['majors']['a']" value="1">checked="checked"</eq>> 租赁-->
                <!--</label>-->
                <!--<label class="checkbox inline">-->
                    <!--<input type="checkbox" value="装卸" name="major_box[]" <eq name="client['majors']['b']" value="1">checked="checked"</eq>> 装卸-->
                <!--</label>-->
                <!--<label class="checkbox inline">-->
                    <!--<input type="checkbox" value="吊装" name="major_box[]" <eq name="client['majors']['c']" value="1">checked="checked"</eq>> 吊装-->
                <!--</label>-->
                <!--<label class="checkbox inline">-->
                    <!--<input type="checkbox" value="移动" name="major_box[]" <eq name="client['majors']['d']" value="1">checked="checked"</eq>> 移动-->
                <!--</label>-->
                <!--<label class="checkbox inline">-->
                    <!--<input type="checkbox" value="搬迁" name="major_box[]" <eq name="client['majors']['e']" value="1">checked="checked"</eq>> 搬迁-->
                <!--</label>-->
                <!--<label class="checkbox inline">-->
                    <!--<input type="checkbox" value="物流" name="major_box[]" <eq name="client['majors']['f']" value="1">checked="checked"</eq>> 物流-->
                <!--</label>-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">价 格</label>-->
                <!--<input type="text" class="text input-large" readonly name="price" value="{$client['price']}">-->
            <!--</div>-->
            <div class="form-item">
                <label class="item-label">公 司</label>
                <input type="text" class="text input-large" readonly name="company" value="{$client['company']}">
            </div>
            <div class="form-item">
                <label class="item-label">电 话</label>
                <input type="text" class="text input-large" readonly name="telphone" value="{$client['telphone']}">
            </div>
            <!--<div class="form-item">-->
                <!--<label class="item-label">邮 箱</label>-->
                <!--<input type="text" class="text input-large" readonly name="mail" value="{$client['mail']}">-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">传 真</label>-->
                <!--<input type="text" class="text input-large" readonly name="fax" value="{$client['fax']}">-->
            <!--</div>-->
            <!--<div class="form-item">-->
                <!--<label class="item-label">地 址</label>-->
                <!--<input type="text" class="text input-large" readonly name="address" value="{$client['address']}">-->
            <!--</div>-->
            <div class="form-item">
                <label class="item-label">经度</label>
                <input type="text" readonly class="text input-large" name="lang" id="lang" value="{$client['lang']}">
            </div>
            <div class="form-item">
                <label class="item-label">纬度</label>
                <input type="text" readonly class="text input-large" name="lat" id="lat" value="{$client['lat']}">
            </div>
            <div class="form-item">
                <label class="item-label re-label">详细内容</label>
                <textarea name="message" class="text input-large" readonly>{$client['message']}</textarea>
                {:hook('adminArticleEdit')}
            </div>
        </div>
        <div class="form-item">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>